<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>ifram调用父窗口方法测试</title>
<!-- <meta name="apple-mobile-web-app-title" content="design by www.jerei.com">
<link rel="apple-touch-icon" href="/resources/web/images/apple-touch-icon.png" />
<link rel="apple-touch-startup-image" href="/resources/web/images/screen.png" /> -->
<link rel="icon" href="/resources/favicon.ico" >
<meta name="format-detection" content="telephone=no">
<meta name="author" content="design by www.jerei.com">
<link href="/resources/ui/ui.css" rel="stylesheet" />
<link href="/resources/web/css/style.css" rel="stylesheet" />
<!--[if lt IE 9]><script src="/resources/web/lib/H5shiv.js"></script><![endif]-->
</head>
<body>

<p>从ifram内部调用父窗口关闭方法来关闭自身</p>
<button class="btn" id="closeself" onclick="parent.window.closeMyIfr()">点此关闭</button>



</body>
</html>